package com.yuanfeng.userms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.userms.dto.UserPlatformMessageDTO;
import com.yuanfeng.userms.entity.UserPlatformMessageEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @Entity com.yuanfeng.userms.entity.UserPlatformMessage
 */
@Mapper
public interface UserPlatformMessageMapper extends BaseMapper<UserPlatformMessageEntity> {
    /**
     * 站内信通知
     * @param map
     */
    void insertmessage(@Param("param") Map map);


    /**
     * 新增站内信息
     *
     * @param record
     * @return
     */
    int insertSelective(UserPlatformMessageDTO record);
}




